YAHOO.namespace("draftrack.fop.testapi");

YAHOO.draftrack.fop.testapi = function() {


	var makeRequest = function (o){
		//We get the SAP from the form action
		var sUrl =  o.form.action + '?';

		//we get the differennt params
		var inputValue = document.getElementById('crypticInput').value;


		document.getElementById('testAPIResponse').src = sUrl + 'crypticEntry='+inputValue;
		return false;
		//var request = YAHOO.util.Connect.asyncRequest('GET', sUrl, callback);
	};
	


	return { 
		testAPICall:makeRequest
	        }; 
}();	
	